home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1998-05-21 | 4.4 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
100%
| file
| Emacs/XEmacs v20 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 32 |on Mon M|ar 9 12|
|00000040| 3a 34 38 3a 30 36 20 31 | 39 39 38 0a 3b 3b 3b 20 |:48:06 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 65 64 65 62 |s-20.3/l|isp/edeb|
|000000a0| 75 67 2f 65 76 61 6c 2d | 72 65 67 2e 65 6c 0a 3b |ug/eval-|reg.el.;|
|000000b0| 3b 3b 20 65 6d 61 63 73 | 20 76 65 72 73 69 6f 6e |;; emacs| version|
|000000c0| 20 32 30 2e 34 20 22 45 | 6d 65 72 61 6c 64 22 20 | 20.4 "E|merald" |
|000000d0| 58 45 6d 61 63 73 20 20 | 4c 75 63 69 64 2e 0a 3b |XEmacs |Lucid..;|
|000000e0| 3b 3b 20 62 79 74 65 63 | 6f 6d 70 20 76 65 72 73 |;; bytec|omp vers|
|000000f0| 69 6f 6e 20 32 2e 32 35 | 20 58 45 6d 61 63 73 3b |ion 2.25| XEmacs;|
|00000100| 20 32 32 2d 4d 61 72 2d | 39 36 2e 0a 3b 3b 3b 20 | 22-Mar-|96..;;; |
|00000110| 6f 70 74 69 6d 69 7a 61 | 74 69 6f 6e 20 69 73 20 |optimiza|tion is |
|00000120| 6f 6e 2e 0a 3b 3b 3b 20 | 74 68 69 73 20 66 69 6c |on..;;; |this fil|
|00000130| 65 20 75 73 65 73 20 6f | 70 63 6f 64 65 73 20 77 |e uses o|pcodes w|
|00000140| 68 69 63 68 20 64 6f 20 | 6e 6f 74 20 65 78 69 73 |hich do |not exis|
|00000150| 74 20 69 6e 20 45 6d 61 | 63 73 20 31 39 2e 0a 0a |t in Ema|cs 19...|
|00000160| 28 69 66 20 28 61 6e 64 | 20 28 62 6f 75 6e 64 70 |(if (and| (boundp|
|00000170| 20 27 65 6d 61 63 73 2d | 76 65 72 73 69 6f 6e 29 | 'emacs-|version)|
|00000180| 0a 09 20 28 6f 72 20 28 | 61 6e 64 20 28 62 6f 75 |.. (or (|and (bou|
|00000190| 6e 64 70 20 27 65 70 6f | 63 68 3a 3a 76 65 72 73 |ndp 'epo|ch::vers|
|000001a0| 69 6f 6e 29 20 65 70 6f | 63 68 3a 3a 76 65 72 73 |ion) epo|ch::vers|
|000001b0| 69 6f 6e 29 0a 09 20 20 | 20 20 20 28 73 74 72 69 |ion).. | (stri|
|000001c0| 6e 67 2d 6c 65 73 73 70 | 20 65 6d 61 63 73 2d 76 |ng-lessp| emacs-v|
|000001d0| 65 72 73 69 6f 6e 20 22 | 32 30 22 29 29 29 0a 20 |ersion "|20"))). |
|000001e0| 20 20 20 28 65 72 72 6f | 72 20 22 60 65 76 61 6c | (erro|r "`eval|
|000001f0| 2d 72 65 67 2e 65 6c 27 | 20 77 61 73 20 63 6f 6d |-reg.el'| was com|
|00000200| 70 69 6c 65 64 20 66 6f | 72 20 45 6d 61 63 73 20 |piled fo|r Emacs |
|00000210| 32 30 22 29 29 0a 0a 28 | 6f 72 20 28 62 6f 75 6e |20"))..(|or (boun|
|00000220| 64 70 20 27 63 75 72 72 | 65 6e 74 2d 6c 6f 61 64 |dp 'curr|ent-load|
|00000230| 2d 6c 69 73 74 29 20 28 | 73 65 74 71 20 63 75 72 |-list) (|setq cur|
|00000240| 72 65 6e 74 2d 6c 6f 61 | 64 2d 6c 69 73 74 20 6e |rent-loa|d-list n|
|00000250| 69 6c 29 29 0a 0a 0a 28 | 62 79 74 65 2d 63 6f 64 |il))...(|byte-cod|
|00000260| 65 20 22 c0 c1 21 ac 86 | c2 c1 c3 4b 5c 22 88 c0 |e "..!..|...K\"..|
|00000270| c4 21 ac 8e c2 c4 c0 c5 | 21 ab 84 c5 4b aa 81 c6 |.!......|!...K...|
|00000280| 5c 22 88 c0 c7 21 ac 86 | c2 c7 c8 4b 5c 22 88 c0 |\"...!..|...K\"..|
|00000290| 87 22 20 5b 66 62 6f 75 | 6e 64 70 20 6f 72 69 67 |." [fbou|ndp orig|
|000002a0| 69 6e 61 6c 2d 65 76 61 | 6c 2d 72 65 67 69 6f 6e |inal-eva|l-region|
|000002b0| 20 64 65 66 61 6c 69 61 | 73 20 65 76 61 6c 2d 72 | defalia|s eval-r|
|000002c0| 65 67 69 6f 6e 20 6f 72 | 69 67 69 6e 61 6c 2d 65 |egion or|iginal-e|
|000002d0| 76 61 6c 2d 62 75 66 66 | 65 72 20 65 76 61 6c 2d |val-buff|er eval-|
|000002e0| 62 75 66 66 65 72 20 75 | 6e 64 65 66 69 6e 65 64 |buffer u|ndefined|
|000002f0| 20 6f 72 69 67 69 6e 61 | 6c 2d 65 76 61 6c 2d 63 | origina|l-eval-c|
|00000300| 75 72 72 65 6e 74 2d 62 | 75 66 66 65 72 20 65 76 |urrent-b|uffer ev|
|00000310| 61 6c 2d 63 75 72 72 65 | 6e 74 2d 62 75 66 66 65 |al-curre|nt-buffe|
|00000320| 72 5d 20 34 29 0a 23 40 | 32 36 36 20 49 66 20 74 |r] 4).#@|266 If t|
|00000330| 68 65 20 76 61 6c 75 65 | 20 69 73 20 30 2c 20 75 |he value| is 0, u|
|00000340| 73 65 20 74 68 65 20 6f | 72 69 67 69 6e 61 6c 20 |se the o|riginal |
|00000350| 76 65 72 73 69 6f 6e 20 | 6f 66 20 60 65 6c 69 73 |version |of `elis|
|00000360| 70 2d 65 76 61 6c 2d 72 | 65 67 69 6f 6e 27 2e 0a |p-eval-r|egion'..|
|00000370| 43 61 6c 6c 65 72 73 20 | 6f 66 20 60 65 6c 69 73 |Callers |of `elis|
|00000380| 70 2d 65 76 61 6c 2d 72 | 65 67 69 6f 6e 27 20 73 |p-eval-r|egion' s|
|00000390| 68 6f 75 6c 64 20 69 6e | 63 72 65 6d 65 6e 74 20 |hould in|crement |
|000003a0| 60 65 6c 69 73 70 2d 65 | 76 61 6c 2d 72 65 67 69 |`elisp-e|val-regi|
|000003b0| 6f 6e 2d 6c 65 76 65 6c | 27 0a 77 68 69 6c 65 20 |on-level|'.while |
|000003c0| 74 68 65 20 4c 69 73 70 | 20 76 65 72 73 69 6f 6e |the Lisp| version|
|000003d0| 20 73 68 6f 75 6c 64 20 | 62 65 20 75 73 65 64 2e | should |be used.|
|000003e0| 20 20 49 6e 73 74 61 6c | 6c 69 6e 67 20 60 65 6c | Instal|ling `el|
|000003f0| 69 73 70 2d 65 76 61 6c | 2d 72 65 67 69 6f 6e 27 |isp-eval|-region'|
|00000400| 0a 69 6e 63 72 65 6d 65 | 6e 74 73 20 69 74 20 6f |.increme|nts it o|
|00000410| 6e 63 65 2c 20 61 6e 64 | 20 75 6e 69 6e 73 74 61 |nce, and| uninsta|
|00000420| 6c 6c 69 6e 67 20 64 65 | 63 72 65 6d 65 6e 74 73 |lling de|crements|
|00000430| 20 69 74 2e 1f 0a 28 64 | 65 66 76 61 72 20 65 6c | it...(d|efvar el|
|00000440| 69 73 70 2d 65 76 61 6c | 2d 72 65 67 69 6f 6e 2d |isp-eval|-region-|
|00000450| 6c 65 76 65 6c 20 30 20 | 28 23 24 20 2e 20 38 31 |level 0 |(#$ . 81|
|00000460| 32 29 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 65 |2)).(def|alias 'e|
|00000470| 6c 69 73 70 2d 65 76 61 | 6c 2d 72 65 67 69 6f 6e |lisp-eva|l-region|
|00000480| 2d 69 6e 73 74 61 6c 6c | 20 23 5b 6e 69 6c 20 22 |-install| #[nil "|
|00000490| c0 c1 c2 5c 22 88 c0 c3 | c4 5c 22 88 c0 c5 c6 5c |...\"...|.\"....\|
|000004a0| 22 88 0e 07 54 89 16 07 | 87 22 20 5b 64 65 66 61 |"...T...|." [defa|
|000004b0| 6c 69 61 73 20 65 76 61 | 6c 2d 72 65 67 69 6f 6e |lias eva|l-region|
|000004c0| 20 65 6c 69 73 70 2d 65 | 76 61 6c 2d 72 65 67 69 | elisp-e|val-regi|
|000004d0| 6f 6e 20 65 76 61 6c 2d | 62 75 66 66 65 72 20 65 |on eval-|buffer e|
|000004e0| 6c 69 73 70 2d 65 76 61 | 6c 2d 62 75 66 66 65 72 |lisp-eva|l-buffer|
|000004f0| 20 65 76 61 6c 2d 63 75 | 72 72 65 6e 74 2d 62 75 | eval-cu|rrent-bu|
|00000500| 66 66 65 72 20 65 6c 69 | 73 70 2d 65 76 61 6c 2d |ffer eli|sp-eval-|
|00000510| 63 75 72 72 65 6e 74 2d | 62 75 66 66 65 72 20 65 |current-|buffer e|
|00000520| 6c 69 73 70 2d 65 76 61 | 6c 2d 72 65 67 69 6f 6e |lisp-eva|l-region|
|00000530| 2d 6c 65 76 65 6c 5d 20 | 33 20 6e 69 6c 20 6e 69 |-level] |3 nil ni|
|00000540| 6c 5d 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 65 |l]).(def|alias 'e|
|00000550| 6c 69 73 70 2d 65 76 61 | 6c 2d 72 65 67 69 6f 6e |lisp-eva|l-region|
|00000560| 2d 75 6e 69 6e 73 74 61 | 6c 6c 20 23 5b 6e 69 6c |-uninsta|ll #[nil|
|00000570| 20 22 c0 09 56 ab 85 09 | 53 89 11 87 c2 11 c3 c4 | "..V...|S.......|
|00000580| c5 4b 5c 22 88 c3 c6 c7 | 4b 5c 22 88 c3 c8 c9 4b |.K\"....|K\"....K|
|00000590| 5c 22 87 22 20 5b 31 20 | 65 6c 69 73 70 2d 65 76 |\"." [1 |elisp-ev|
|000005a0| 61 6c 2d 72 65 67 69 6f | 6e 2d 6c 65 76 65 6c 20 |al-regio|n-level |
|000005b0| 30 20 64 65 66 61 6c 69 | 61 73 20 65 76 61 6c 2d |0 defali|as eval-|
|000005c0| 72 65 67 69 6f 6e 20 6f | 72 69 67 69 6e 61 6c 2d |region o|riginal-|
|000005d0| 65 76 61 6c 2d 72 65 67 | 69 6f 6e 20 65 76 61 6c |eval-reg|ion eval|
|000005e0| 2d 62 75 66 66 65 72 20 | 6f 72 69 67 69 6e 61 6c |-buffer |original|
|000005f0| 2d 65 76 61 6c 2d 62 75 | 66 66 65 72 20 65 76 61 |-eval-bu|ffer eva|
|00000600| 6c 2d 63 75 72 72 65 6e | 74 2d 62 75 66 66 65 72 |l-curren|t-buffer|
|00000610| 20 6f 72 69 67 69 6e 61 | 6c 2d 65 76 61 6c 2d 63 | origina|l-eval-c|
|00000620| 75 72 72 65 6e 74 2d 62 | 75 66 66 65 72 5d 20 33 |urrent-b|uffer] 3|
|00000630| 20 6e 69 6c 20 6e 69 6c | 5d 29 0a 28 62 79 74 65 | nil nil|]).(byte|
|00000640| 2d 63 6f 64 65 20 22 c0 | c1 c2 c3 23 88 c0 c1 c4 |-code ".|...#....|
|00000650| c3 23 88 c0 c1 c5 c6 23 | 87 22 20 5b 70 75 74 20 |.#.....#|." [put |
|00000660| 77 69 74 68 2d 65 6c 69 | 73 70 2d 65 76 61 6c 2d |with-eli|sp-eval-|
|00000670| 72 65 67 69 6f 6e 20 6c | 69 73 70 2d 69 6e 64 65 |region l|isp-inde|
|00000680| 6e 74 2d 66 75 6e 63 74 | 69 6f 6e 20 31 20 6c 69 |nt-funct|ion 1 li|
|00000690| 73 70 2d 69 6e 64 65 6e | 74 2d 68 6f 6f 6b 20 65 |sp-inden|t-hook e|
|000006a0| 64 65 62 75 67 2d 66 6f | 72 6d 2d 73 70 65 63 20 |debug-fo|rm-spec |
|000006b0| 74 5d 20 34 29 0a 23 40 | 35 37 38 20 49 66 20 46 |t] 4).#@|578 If F|
|000006c0| 4c 41 47 20 69 73 20 6e | 69 6c 2c 20 64 65 63 72 |LAG is n|il, decr|
|000006d0| 65 6d 65 6e 74 20 60 65 | 76 61 6c 2d 72 65 67 69 |ement `e|val-regi|
|000006e0| 6f 6e 2d 6c 65 76 65 6c | 27 20 77 68 69 6c 65 20 |on-level|' while |
|000006f0| 65 78 65 63 75 74 69 6e | 67 20 42 4f 44 59 2e 0a |executin|g BODY..|
|00000700| 54 68 65 20 65 66 66 65 | 63 74 20 6f 66 20 64 65 |The effe|ct of de|
|00000710| 63 72 65 6d 65 6e 74 69 | 6e 67 20 61 6c 6c 20 74 |crementi|ng all t|
|00000720| 68 65 20 77 61 79 20 74 | 6f 20 7a 65 72 6f 20 69 |he way t|o zero i|
|00000730| 73 20 74 68 61 74 20 60 | 65 76 61 6c 2d 72 65 67 |s that `|eval-reg|
|00000740| 69 6f 6e 27 0a 77 69 6c | 6c 20 75 73 65 20 74 68 |ion'.wil|l use th|
|00000750| 65 20 6f 72 69 67 69 6e | 61 6c 20 60 65 76 61 6c |e origin|al `eval|
|00000760| 2d 72 65 67 69 6f 6e 27 | 2c 20 77 68 69 63 68 20 |-region'|, which |
|00000770| 6d 61 79 20 62 65 20 74 | 68 65 20 45 6d 61 63 73 |may be t|he Emacs|
|00000780| 20 73 75 62 72 20 6f 72 | 20 73 6f 6d 65 0a 70 72 | subr or| some.pr|
|00000790| 65 76 69 6f 75 73 20 72 | 65 64 65 66 69 6e 69 74 |evious r|edefinit|
|000007a0| 69 6f 6e 2e 20 20 42 65 | 66 6f 72 65 20 63 61 6c |ion. Be|fore cal|
|000007b0| 6c 69 6e 67 20 74 68 69 | 73 20 6d 61 63 72 6f 2c |ling thi|s macro,|
|000007c0| 20 74 68 69 73 20 70 61 | 63 6b 61 67 65 20 73 68 | this pa|ckage sh|
|000007d0| 6f 75 6c 64 0a 61 6c 72 | 65 61 64 79 20 68 61 76 |ould.alr|eady hav|
|000007e0| 65 20 62 65 65 6e 20 69 | 6e 73 74 61 6c 6c 65 64 |e been i|nstalled|
|000007f0| 2c 20 75 73 69 6e 67 20 | 60 65 6c 69 73 70 2d 65 |, using |`elisp-e|
|00000800| 76 61 6c 2d 72 65 67 69 | 6f 6e 2d 69 6e 73 74 61 |val-regi|on-insta|
|00000810| 6c 6c 27 2c 20 77 68 69 | 63 68 0a 69 6e 63 72 65 |ll', whi|ch.incre|
|00000820| 6d 65 6e 74 73 20 74 68 | 65 20 63 6f 75 6e 74 20 |ments th|e count |
|00000830| 6f 6e 63 65 2e 20 20 53 | 6f 20 69 66 20 61 6e 6f |once. S|o if ano|
|00000840| 74 68 65 72 20 70 61 63 | 6b 61 67 65 20 73 74 69 |ther pac|kage sti|
|00000850| 6c 6c 20 72 65 71 75 69 | 72 65 73 20 74 68 65 0a |ll requi|res the.|
|00000860| 4c 69 73 70 20 76 65 72 | 73 69 6f 6e 20 6f 66 20 |Lisp ver|sion of |
|00000870| 74 68 65 20 63 6f 64 65 | 2c 20 74 68 65 20 63 6f |the code|, the co|
|00000880| 75 6e 74 20 77 69 6c 6c | 20 73 74 69 6c 6c 20 62 |unt will| still b|
|00000890| 65 20 6e 6f 6e 2d 7a 65 | 72 6f 2e 0a 0a 54 68 65 |e non-ze|ro...The|
|000008a0| 20 63 6f 75 6e 74 20 69 | 73 20 6e 6f 74 20 62 6f | count i|s not bo|
|000008b0| 75 6e 64 20 6c 6f 63 61 | 6c 6c 79 20 62 79 20 74 |und loca|lly by t|
|000008c0| 68 69 73 20 6d 61 63 72 | 6f 2c 20 73 6f 20 63 68 |his macr|o, so ch|
|000008d0| 61 6e 67 65 73 20 62 79 | 20 42 4f 44 59 20 74 6f |anges by| BODY to|
|000008e0| 0a 69 74 73 20 76 61 6c | 75 65 20 77 69 6c 6c 20 |.its val|ue will |
|000008f0| 6e 6f 74 20 62 65 20 6c | 6f 73 74 2e 1f 0a 28 64 |not be l|ost...(d|
|00000900| 65 66 61 6c 69 61 73 20 | 27 77 69 74 68 2d 65 6c |efalias |'with-el|
|00000910| 69 73 70 2d 65 76 61 6c | 2d 72 65 67 69 6f 6e 20 |isp-eval|-region |
|00000920| 27 28 6d 61 63 72 6f 20 | 2e 20 23 5b 28 66 6c 61 |'(macro |. #[(fla|
|00000930| 67 20 26 72 65 73 74 20 | 62 6f 64 79 29 20 22 c0 |g &rest |body) ".|
|00000940| c1 c2 c3 c4 0d 42 42 44 | 44 43 c6 c7 0e 08 44 c9 |.....BBD|DC....D.|
|00000950| 42 42 45 87 22 20 5b 6c | 65 74 20 65 6c 69 73 70 |BBE." [l|et elisp|
|00000960| 2d 63 6f 64 65 20 66 75 | 6e 63 74 69 6f 6e 20 6c |-code fu|nction l|
|00000970| 61 6d 62 64 61 20 6e 69 | 6c 20 62 6f 64 79 20 69 |ambda ni|l body i|
|00000980| 66 20 6e 6f 74 20 66 6c | 61 67 20 28 28 75 6e 77 |f not fl|ag ((unw|
|00000990| 69 6e 64 2d 70 72 6f 74 | 65 63 74 20 28 70 72 6f |ind-prot|ect (pro|
|000009a0| 67 6e 20 28 73 65 74 71 | 20 65 6c 69 73 70 2d 65 |gn (setq| elisp-e|
|000009b0| 76 61 6c 2d 72 65 67 69 | 6f 6e 2d 6c 65 76 65 6c |val-regi|on-level|
|000009c0| 20 28 31 2d 20 65 6c 69 | 73 70 2d 65 76 61 6c 2d | (1- eli|sp-eval-|
|000009d0| 72 65 67 69 6f 6e 2d 6c | 65 76 65 6c 29 29 20 28 |region-l|evel)) (|
|000009e0| 66 75 6e 63 61 6c 6c 20 | 65 6c 69 73 70 2d 63 6f |funcall |elisp-co|
|000009f0| 64 65 29 29 20 28 73 65 | 74 71 20 65 6c 69 73 70 |de)) (se|tq elisp|
|00000a00| 2d 65 76 61 6c 2d 72 65 | 67 69 6f 6e 2d 6c 65 76 |-eval-re|gion-lev|
|00000a10| 65 6c 20 28 31 2b 20 65 | 6c 69 73 70 2d 65 76 61 |el (1+ e|lisp-eva|
|00000a20| 6c 2d 72 65 67 69 6f 6e | 2d 6c 65 76 65 6c 29 29 |l-region|-level))|
|00000a30| 29 20 28 66 75 6e 63 61 | 6c 6c 20 65 6c 69 73 70 |) (funca|ll elisp|
|00000a40| 2d 63 6f 64 65 29 29 5d | 20 36 20 28 23 24 20 2e |-code))]| 6 (#$ .|
|00000a50| 20 31 37 32 34 29 5d 29 | 29 0a 23 40 33 39 37 20 | 1724)])|).#@397 |
|00000a60| 45 78 65 63 75 74 65 20 | 74 68 65 20 72 65 67 69 |Execute |the regi|
|00000a70| 6f 6e 20 61 73 20 4c 69 | 73 70 20 63 6f 64 65 2e |on as Li|sp code.|
|00000a80| 0a 57 68 65 6e 20 63 61 | 6c 6c 65 64 20 66 72 6f |.When ca|lled fro|
|00000a90| 6d 20 70 72 6f 67 72 61 | 6d 73 2c 20 65 78 70 65 |m progra|ms, expe|
|00000aa0| 63 74 73 20 74 77 6f 20 | 61 72 67 75 6d 65 6e 74 |cts two |argument|
|00000ab0| 73 2c 0a 67 69 76 69 6e | 67 20 73 74 61 72 74 69 |s,.givin|g starti|
|00000ac0| 6e 67 20 61 6e 64 20 65 | 6e 64 69 6e 67 20 69 6e |ng and e|nding in|
|00000ad0| 64 69 63 65 73 20 69 6e | 20 74 68 65 20 63 75 72 |dices in| the cur|
|00000ae0| 72 65 6e 74 20 62 75 66 | 66 65 72 0a 6f 66 20 74 |rent buf|fer.of t|
|00000af0| 68 65 20 74 65 78 74 20 | 74 6f 20 62 65 20 65 78 |he text |to be ex|
|00000b00| 65 63 75 74 65 64 2e 0a | 50 72 6f 67 72 61 6d 73 |ecuted..|Programs|
|00000b10| 20 63 61 6e 20 70 61 73 | 73 20 74 68 69 72 64 20 | can pas|s third |
|00000b20| 61 72 67 75 6d 65 6e 74 | 20 50 52 49 4e 54 46 4c |argument| PRINTFL|
|00000b30| 41 47 20 77 68 69 63 68 | 20 63 6f 6e 74 72 6f 6c |AG which| control|
|00000b40| 73 20 70 72 69 6e 74 69 | 6e 67 20 6f 66 20 6f 75 |s printi|ng of ou|
|00000b50| 74 70 75 74 3a 0a 6e 69 | 6c 20 6d 65 61 6e 73 20 |tput:.ni|l means |
|00000b60| 64 69 73 63 61 72 64 20 | 69 74 3b 20 61 6e 79 74 |discard |it; anyt|
|00000b70| 68 69 6e 67 20 65 6c 73 | 65 20 69 73 20 73 74 72 |hing els|e is str|
|00000b80| 65 61 6d 20 66 6f 72 20 | 70 72 69 6e 74 2e 0a 0a |eam for |print...|
|00000b90| 54 68 69 73 20 76 65 72 | 73 69 6f 6e 2c 20 66 72 |This ver|sion, fr|
|00000ba0| 6f 6d 20 60 65 76 61 6c | 2d 72 65 67 2e 65 6c 27 |om `eval|-reg.el'|
|00000bb0| 2c 20 61 6c 6c 6f 77 73 | 20 4c 69 73 70 20 63 75 |, allows| Lisp cu|
|00000bc0| 73 74 6f 6d 69 7a 61 74 | 69 6f 6e 20 6f 66 20 72 |stomizat|ion of r|
|00000bd0| 65 61 64 2c 0a 65 76 61 | 6c 2c 20 61 6e 64 20 74 |ead,.eva|l, and t|
|00000be0| 68 65 20 70 72 69 6e 74 | 65 72 2e 1f 0a 28 64 65 |he print|er...(de|
|00000bf0| 66 61 6c 69 61 73 20 27 | 65 6c 69 73 70 2d 65 76 |falias '|elisp-ev|
|00000c00| 61 6c 2d 72 65 67 69 6f | 6e 20 23 5b 28 65 6c 69 |al-regio|n #[(eli|
|00000c10| 73 70 2d 73 74 61 72 74 | 20 65 6c 69 73 70 2d 65 |sp-start| elisp-e|
|00000c20| 6e 64 20 26 6f 70 74 69 | 6f 6e 61 6c 20 65 6c 69 |nd &opti|onal eli|
|00000c30| 73 70 2d 6f 75 74 70 75 | 74 29 20 22 08 c1 55 ab |sp-outpu|t) "..U.|
|00000c40| 86 c2 0b 0c 0d 23 87 60 | 70 70 c6 20 0c c7 93 c7 |.....#.`|pp. ....|
|00000c50| 89 1e 08 1e 09 1e 5c 6e | 1e 0b 1e 0c 1e 0d 0b 62 |......\n|.......b|
|00000c60| 88 ce 20 88 60 0e 5c 6e | 57 ab d3 cf 0e 0c 21 16 |.. .`.\n|W.....!.|
|00000c70| 09 70 1e 10 0e 0b 71 88 | d1 0e 09 21 16 08 70 16 |.p....q.|...!..p.|
|00000c80| 0b 0e 10 71 88 29 0d ab | a8 0d ae 81 d2 1e 13 0e |...q.)..|........|
|00000c90| 08 0e 14 42 16 14 0e 13 | d2 61 ab 87 d5 0e 08 21 |...B....|.a.....!|
|00000ca0| 88 aa 8d d6 d7 21 88 d5 | 0e 08 21 88 d6 d7 21 88 |.....!..|..!...!.|
|00000cb0| 29 0e 5c 6e 60 5d ce 20 | 88 60 5e 62 88 aa 27 0d |).\n`]. |.`^b..'.|
|00000cc0| ac 88 0e 0c 71 88 0e 0d | 62 88 2e 06 c7 87 22 20 |....q...|b....." |
|00000cd0| 5b 65 6c 69 73 70 2d 65 | 76 61 6c 2d 72 65 67 69 |[elisp-e|val-regi|
|00000ce0| 6f 6e 2d 6c 65 76 65 6c | 20 30 20 6f 72 69 67 69 |on-level| 0 origi|
|00000cf0| 6e 61 6c 2d 65 76 61 6c | 2d 72 65 67 69 6f 6e 20 |nal-eval|-region |
|00000d00| 65 6c 69 73 70 2d 73 74 | 61 72 74 20 65 6c 69 73 |elisp-st|art elis|
|00000d10| 70 2d 65 6e 64 20 65 6c | 69 73 70 2d 6f 75 74 70 |p-end el|isp-outp|
|00000d20| 75 74 20 6d 61 6b 65 2d | 6d 61 72 6b 65 72 20 6e |ut make-|marker n|
|00000d30| 69 6c 20 65 6c 69 73 70 | 2d 76 61 6c 20 65 6c 69 |il elisp|-val eli|
|00000d40| 73 70 2d 66 6f 72 6d 20 | 65 6c 69 73 70 2d 65 6e |sp-form |elisp-en|
|00000d50| 64 2d 6d 61 72 6b 65 72 | 20 65 6c 69 73 70 2d 69 |d-marker| elisp-i|
|00000d60| 6e 73 69 64 65 2d 62 75 | 66 20 65 6c 69 73 70 2d |nside-bu|f elisp-|
|00000d70| 62 75 66 20 65 6c 69 73 | 70 2d 70 6e 74 20 65 6c |buf elis|p-pnt el|
|00000d80| 69 73 70 2d 73 6b 69 70 | 2d 77 68 69 74 65 73 70 |isp-skip|-whitesp|
|00000d90| 61 63 65 20 72 65 61 64 | 20 65 6c 69 73 70 2d 63 |ace read| elisp-c|
|00000da0| 75 72 72 65 6e 74 2d 62 | 75 66 66 65 72 20 65 76 |urrent-b|uffer ev|
|00000db0| 61 6c 20 74 20 73 74 61 | 6e 64 61 72 64 2d 6f 75 |al t sta|ndard-ou|
|00000dc0| 74 70 75 74 20 76 61 6c | 75 65 73 20 70 72 69 6e |tput val|ues prin|
|00000dd0| 31 20 70 72 69 6e 63 20 | 22 5c 6e 22 5d 20 36 20 |1 princ |"\n"] 6 |
|00000de0| 28 23 24 20 2e 20 32 36 | 35 36 29 20 22 72 22 5d |(#$ . 26|56) "r"]|
|00000df0| 29 0a 28 64 65 66 61 6c | 69 61 73 20 27 65 6c 69 |).(defal|ias 'eli|
|00000e00| 73 70 2d 73 6b 69 70 2d | 77 68 69 74 65 73 70 61 |sp-skip-|whitespa|
|00000e10| 63 65 20 23 5b 6e 69 6c | 20 22 c0 c1 77 88 67 c2 |ce #[nil| "..w.g.|
|00000e20| 55 ad 8a c3 c1 77 88 c0 | c1 77 88 aa 71 87 22 20 |U....w..|.w..q." |
|00000e30| 5b 22 20 09 0d 5c 6e 0c | 22 20 6e 69 6c 20 3f 5c |[" ..\n.|" nil ?\|
|00000e40| 3b 20 22 5e 5c 6e 0d 22 | 5d 20 32 5d 29 0a 23 40 |; "^\n."|] 2]).#@|
|00000e50| 32 32 36 20 45 78 65 63 | 75 74 65 20 74 68 65 20 |226 Exec|ute the |
|00000e60| 63 75 72 72 65 6e 74 20 | 62 75 66 66 65 72 20 61 |current |buffer a|
|00000e70| 73 20 4c 69 73 70 20 63 | 6f 64 65 2e 0a 50 72 6f |s Lisp c|ode..Pro|
|00000e80| 67 72 61 6d 73 20 63 61 | 6e 20 70 61 73 73 20 61 |grams ca|n pass a|
|00000e90| 72 67 75 6d 65 6e 74 20 | 50 52 49 4e 54 46 4c 41 |rgument |PRINTFLA|
|00000ea0| 47 20 77 68 69 63 68 20 | 63 6f 6e 74 72 6f 6c 73 |G which |controls|
|00000eb0| 20 70 72 69 6e 74 69 6e | 67 20 6f 66 20 6f 75 74 | printin|g of out|
|00000ec0| 70 75 74 3a 0a 6e 69 6c | 20 6d 65 61 6e 73 20 64 |put:.nil| means d|
|00000ed0| 69 73 63 61 72 64 20 69 | 74 3b 20 61 6e 79 74 68 |iscard i|t; anyth|
|00000ee0| 69 6e 67 20 65 6c 73 65 | 20 69 73 20 73 74 72 65 |ing else| is stre|
|00000ef0| 61 6d 20 66 6f 72 20 70 | 72 69 6e 74 2e 0a 0a 54 |am for p|rint...T|
|00000f00| 68 69 73 20 76 65 72 73 | 69 6f 6e 20 63 61 6c 6c |his vers|ion call|
|00000f10| 73 20 60 65 76 61 6c 2d | 72 65 67 69 6f 6e 27 20 |s `eval-|region' |
|00000f20| 6f 6e 20 74 68 65 20 77 | 68 6f 6c 65 20 62 75 66 |on the w|hole buf|
|00000f30| 66 65 72 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |fer...(d|efalias |
|00000f40| 27 65 6c 69 73 70 2d 65 | 76 61 6c 2d 63 75 72 72 |'elisp-e|val-curr|
|00000f50| 65 6e 74 2d 62 75 66 66 | 65 72 20 23 5b 28 26 6f |ent-buff|er #[(&o|
|00000f60| 70 74 69 6f 6e 61 6c 20 | 65 6c 69 73 70 2d 6f 75 |ptional |elisp-ou|
|00000f70| 74 70 75 74 29 20 22 c0 | 65 64 09 23 87 22 20 5b |tput) ".|ed.#." [|
|00000f80| 65 76 61 6c 2d 72 65 67 | 69 6f 6e 20 65 6c 69 73 |eval-reg|ion elis|
|00000f90| 70 2d 6f 75 74 70 75 74 | 5d 20 34 20 28 23 24 20 |p-output|] 4 (#$ |
|00000fa0| 2e 20 33 36 36 38 29 20 | 6e 69 6c 5d 29 0a 23 40 |. 3668) |nil]).#@|
|00000fb0| 32 35 32 20 45 78 65 63 | 75 74 65 20 42 55 46 46 |252 Exec|ute BUFF|
|00000fc0| 45 52 20 61 73 20 4c 69 | 73 70 20 63 6f 64 65 2e |ER as Li|sp code.|
|00000fd0| 20 20 55 73 65 20 63 75 | 72 72 65 6e 74 20 62 75 | Use cu|rrent bu|
|00000fe0| 66 66 65 72 20 69 66 20 | 42 55 46 46 45 52 20 69 |ffer if |BUFFER i|
|00000ff0| 73 20 6e 69 6c 2e 0a 50 | 72 6f 67 72 61 6d 73 20 |s nil..P|rograms |
|00001000| 63 61 6e 20 70 61 73 73 | 20 61 72 67 75 6d 65 6e |can pass| argumen|
|00001010| 74 20 50 52 49 4e 54 46 | 4c 41 47 20 77 68 69 63 |t PRINTF|LAG whic|
|00001020| 68 20 63 6f 6e 74 72 6f | 6c 73 20 70 72 69 6e 74 |h contro|ls print|
|00001030| 69 6e 67 20 6f 66 0a 6f | 75 74 70 75 74 3a 20 6e |ing of.o|utput: n|
|00001040| 69 6c 20 6d 65 61 6e 73 | 20 64 69 73 63 61 72 64 |il means| discard|
|00001050| 20 69 74 3b 20 61 6e 79 | 74 68 69 6e 67 20 65 6c | it; any|thing el|
|00001060| 73 65 20 69 73 20 73 74 | 72 65 61 6d 20 66 6f 72 |se is st|ream for|
|00001070| 20 70 72 69 6e 74 2e 0a | 0a 54 68 69 73 20 76 65 | print..|.This ve|
|00001080| 72 73 69 6f 6e 20 63 61 | 6c 6c 73 20 60 65 76 61 |rsion ca|lls `eva|
|00001090| 6c 2d 72 65 67 69 6f 6e | 27 20 6f 6e 20 74 68 65 |l-region|' on the|
|000010a0| 20 77 68 6f 6c 65 20 62 | 75 66 66 65 72 2e 1f 0a | whole b|uffer...|
|000010b0| 28 64 65 66 61 6c 69 61 | 73 20 27 65 6c 69 73 70 |(defalia|s 'elisp|
|000010c0| 2d 65 76 61 6c 2d 62 75 | 66 66 65 72 20 23 5b 28 |-eval-bu|ffer #[(|
|000010d0| 26 6f 70 74 69 6f 6e 61 | 6c 20 65 6c 69 73 70 2d |&optiona|l elisp-|
|000010e0| 62 75 66 6e 61 6d 65 20 | 65 6c 69 73 70 2d 70 72 |bufname |elisp-pr|
|000010f0| 69 6e 74 66 6c 61 67 29 | 20 22 08 ac 82 70 10 8a |intflag)| "...p..|
|00001100| c1 08 21 ae 84 c2 c3 08 | 5c 22 71 88 c4 65 64 0d |..!.....|\"q..ed.|
|00001110| 23 29 87 22 20 5b 65 6c | 69 73 70 2d 62 75 66 6e |#)." [el|isp-bufn|
|00001120| 61 6d 65 20 67 65 74 2d | 62 75 66 66 65 72 20 65 |ame get-|buffer e|
|00001130| 72 72 6f 72 20 22 4e 6f | 20 73 75 63 68 20 62 75 |rror "No| such bu|
|00001140| 66 66 65 72 3a 20 25 73 | 22 20 65 76 61 6c 2d 72 |ffer: %s|" eval-r|
|00001150| 65 67 69 6f 6e 20 65 6c | 69 73 70 2d 70 72 69 6e |egion el|isp-prin|
|00001160| 74 66 6c 61 67 5d 20 34 | 20 28 23 24 20 2e 20 34 |tflag] 4| (#$ . 4|
|00001170| 30 32 30 29 20 6e 69 6c | 5d 29 0a 28 70 72 6f 76 |020) nil|]).(prov|
|00001180| 69 64 65 20 27 65 76 61 | 6c 2d 72 65 67 29 0a |ide 'eva|l-reg). |
+--------+-------------------------+-------------------------+--------+--------+